define(['app'], function(app) {
	'use strict';
	
	var factory = function(Http) {	
		
		//返回信息
		return {
			
			get_shopmsg:function(store_id,callback){
				Http.post({
					method:'shop.notice.getlist',
					store_id:store_id
				},function(result){
					if(callback)
						callback(result.result);
				},function(){
					
				})
			}
			
		};
		
	}

	factory.$inject = ['Http'];
	return app.registerService("Shopmsg", factory);
});